!function (n){
    function Maowenke(){
        this.name = 'maowenke';
    }
    Maowenke.prototype.randomArray=function (arr){
        var newArr = arr.slice(0);
        var len = arr.length;
        var indexArr = [];
        for (var i = 0; i < len; i++) {
            if (indexArr[i]) {
                continue;
            }
            var random = parseInt(Math.random() * len);
            while (random === i) {
                random = parseInt(Math.random() * len);
            }
            indexArr[random] = indexArr[i] = true;
            var swap = newArr[i];
            newArr[i] = newArr[random];
            newArr[random] = swap;
        }
        return newArr;
    }
    "function" == typeof define && define.amd ? define(function () {
        return Maowenke
    }) : "object" == typeof module && module.exports ? module.exports = Maowenke : n.Maowenke = Maowenke
}(this)